package com.kang.bean;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * menus
 * @author
 */
@Data
public class Menus implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 菜单名字/模块名字
     */
    private String name;

    /**
     * 路由
     */
    private String path;

    /**
     * 父id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long pid;

    /**
     * 图标
     */
    private String icon;

    /**
     * 排序字段
     */
    private Integer sort;

    /**
     * 是否删除 0未删除 1已删除
     */
    private Integer delFlag;

    private static final long serialVersionUID = 1L;
}
